package com.jhhc.RHDB.Data.ServiceImpl;

import com.jhhc.RHDB.Data.Dao.ST_PUMP_RMapper;
import com.jhhc.RHDB.Data.Pojo.ST_PUMP_R;

import com.jhhc.RHDB.Data.Service.ST_PUMP_RService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ST_PUMP_RServiceImpl implements ST_PUMP_RService {

    @Autowired
    private ST_PUMP_RMapper ST_PUMP_RMapper;

    @Override
    public List<ST_PUMP_R> selectByStationArrys(List<String> stcd, String startTime, String endTime) {
        // TODO Auto-generated method stub
        return ST_PUMP_RMapper.selectByStationArrys(stcd, startTime, endTime);
    }

    @Override
    public ST_PUMP_R selectPUMPNewEstData(String stcd) {
        return ST_PUMP_RMapper.selectPUMPNewEstData(stcd);
    }
}
